package com.ruoyi.security.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 排班对象 omp_af_scheduling
 *
 * @author cjie
 * @date 2021-07-24
 */
@Data
@ApiModel
public class AfScheduling extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 班次 */
    @Excel(name = "班次")
    @ApiModelProperty(value = "班次")
    private String workOrder;

    /** 工作时间 */
    @Excel(name = "工作时间")
    @ApiModelProperty(value = "工作时间")
    private String workTime;

    /** 执行人Id */
    @Excel(name = "执行人Id")
    @ApiModelProperty(value = "执行人Id")
    private String executeId;

    /** 排班类型 */
    @Excel(name = "排班类型")
    @ApiModelProperty(value = "排班类型")
    private String schedulingType;

    private String parkNum;
    private String moduleType;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "工作日期")
    @ApiModelProperty(value = "工作日期")
    private Date workDate;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    //以下属性为页面视图属性
    /** 执行人 */
    @Excel(name = "执行人")
    @ApiModelProperty(value = "执行人")
    private String userName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phone;

}
